﻿#ifndef LOADLOGTHREAD_H
#define LOADLOGTHREAD_H

#include <QThread>
#include <QMap>
#include "resultmanager.h"

class LoadLogThread : public QThread
{
    Q_OBJECT
public:
    explicit LoadLogThread(QObject *parent = 0);
    void SetLogFile(QString str, bool bByDate);

signals:
    void UpdateLogUI(QVector<ResultManager::RESULT_DEF> v);
	void UpdateDateUI(QMap<QString, ResultManager::DATE_RESULT_DEF> v);
public slots:

protected:
    void run();
    QString m_fileName;
	bool m_bByDate;

};

#endif // LOADLOGTHREAD_H
